package com;

import com.pojo.Users;
import com.utils.MyBatisUtils;
import org.apache.ibatis.session.SqlSession;
import org.junit.Test;

public class UsersTest {
    @Test
    public void findUserTest(){
        SqlSession session = MyBatisUtils.getSession();
        Users users = session.selectOne("com.mapper.UsersMapper.findUserwithOrders",1);
        System.out.println(users);
        session.close();
    }
}